package com.yekaile.carsystem.entity;

import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品表
 * @author yekaile
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Goods {
    private Integer goodsId;

    /**
     * 商品类别，1蔬菜，2水果，3种子，4农药，5化肥，type表主键
     */
    private Integer goodsTypeId;

    private String goodsName;

    /**
     * 一个套餐的价格
     */
    private BigDecimal goodsPrice;

    /**
     * goods_type表的name
     */
    private String goodsTypeName;

    /**
     * 商品图片
     */
    private String goodsPicture;

    /**
     * 详情
     */
    private String goodsDetail;

    /**
     * 商品简介
     */
    private String goodsIntroduction;

    private String gmtCreated;

    private String gmtModified;

    private Integer isDeleted;

    private Integer goodsStock;

    /**
     * 销量
     */
    private Integer goodsSales;
}